package com.zxc.common.enums;

/**
 * 数字枚举
 * @author Zxc
 * @date 2022/04/18
 */
public enum NumberEnum {
    /**
     * 一堆数字的枚举
     */
    NUMSTR(0,"null"),
    EMPTY_STR(null,""),
    ZERO(0,"0"),
    ONE(1,"1"),
    TWO(2,"2"),
    THREE(3,"3"),
    FOUR(4,"4"),
    FIVE(5,"5"),
    SIX(6,"6"),
    SEVEN(7,"7"),
    TEN(10,"10"),
    TWELVE(12,"12"),
    TWENTY(20,"20"),
    TWENTY_FOUR(24,"24"),
    THIRTY(30,"30"),
    FIFTY(50,"50"),
    SIXTY(60,"60"),
    ONE_HUNDRED(100,"100"),
    TWO_HUNDRED(200,"200"),
    FOUR_HUNDRED(400,"400"),
    NUM10200(10200,"10200"),
    NUM10800(10800,"10800"),
    THOUSAND(1000,"1000"),
    ONE_TO_SIX(123456,"123456"),
    TEN_MILLION_AND_FOUR(10000004,"10000004"),
    TEN_MILLION_FOUR_HUNDRED_FORTY_FIVE(10000445,"10000445");

    private Integer key;
    private String value;

    NumberEnum() {
    }

    NumberEnum(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
